package cn.com.connext.scrm.service.mapper;

import cn.com.connext.scrm.domain.master.ZnhjEntity;
import cn.com.connext.scrm.service.dto.AddProductResult;
import cn.com.connext.scrm.service.dto.JsonResult;
import cn.com.connext.scrm.service.dto.ZnhjAddDTO;
import cn.com.connext.scrm.service.dto.ZnhjOperation;
import cn.com.connext.scrm.web.rest.vm.IsScanVM;
import cn.com.connext.scrm.web.rest.vm.ScanCodeRecordVM;
import com.alibaba.fastjson.JSONObject;

import java.util.List;

public interface ZnhjService {

    Integer isActivate(String uniqueCode);

    ZnhjEntity findByUniqueCodeAndBottomCode(String uniqueCode, String bottleCode);

    AddProductResult addProducts(ZnhjOperation znhj);

    JsonResult deleteProducts(List<ZnhjAddDTO> list);

    JsonResult updateIsScan(IsScanVM vm);

    JsonResult findSkuByBottleCode(ZnhjEntity entity);

    JSONObject getNumByReelCode(String reelCode);
}
